package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 部门对象 tb_dept_apply
 *
 * @author ruoyi
 * @date 2024-08-30
 */
public class DeptApply extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 父部门id
     */
    @Excel(name = "父部门id")
    private Long parentId;

    /**
     * 祖级列表
     */
    @Excel(name = "祖级列表")
    private String ancestors;

    /**
     * 部门名称
     */
    @Excel(name = "部门名称")
    private String deptName;

    /**
     * 显示顺序
     */
    @Excel(name = "显示顺序")
    private Integer orderNum;

    /**
     * 负责人
     */
    @Excel(name = "负责人")
    private String leader;

    /**
     * 联系电话
     */
    @Excel(name = "联系电话")
    private String phone;

    /**
     * 邮箱
     */
    @Excel(name = "邮箱")
    private String email;

    /**
     * 状态（0待审核 1审核通过 2审核拒绝）
     */
    @Excel(name = "状态", readConverterExp = "0=待审核,1=审核通过,2=审核拒绝")
    private String status;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    /**
     * 营业执照照片
     */
    @Excel(name = "营业执照照片")
    private String license;

    /**
     * 统一社会信用代码
     */
    @Excel(name = "统一社会信用代码")
    private String code;

    /**
     * 食品经营许可证
     */
    @Excel(name = "食品经营许可证")
    private String food;

    /**
     * 法人身份证正面
     */
    @Excel(name = "法人身份证正面")
    private String idCardTop;

    /**
     * 法人身份证反面
     */
    @Excel(name = "法人身份证反面")
    private String idCardBack;

    /**
     * 食品检测员（高级）
     */
    @Excel(name = "食品检测员", readConverterExp = "高=级")
    private String foodInspector;

    /**
     * 经营人员健康证
     */
    @Excel(name = "经营人员健康证")
    private String health;

    /**
     * 业绩证明
     */
    @Excel(name = "业绩证明")
    private String performance;

    /**
     * 所属类目
     */
    @Excel(name = "所属类目")
    private String cate;

    /**
     * 公司性质
     */
    @Excel(name = "公司性质")
    private String nature;

    /**
     * 纳税人资质
     */
    @Excel(name = "纳税人资质")
    private String aptitude;

    /**
     * 办公地址
     */
    @Excel(name = "办公地址")
    private String address;

    /**
     * 面积
     */
    @Excel(name = "面积")
    private String area;

    /**
     * 产权
     */
    @Excel(name = "产权")
    private String equity;

    /**
     * 不动产权证+租房合同
     */
    @Excel(name = "不动产权证+租房合同")
    private String equityCert;

    /**
     * iso9001
     */
    @Excel(name = "iso9001")
    private String iso9001;

    /**
     * iso14001
     */
    @Excel(name = "iso14001")
    private String iso14001;

    /**
     * haccp
     */
    @Excel(name = "haccp")
    private String haccp;

    /**
     * cnas
     */
    @Excel(name = "cnas")
    private String cnas;

    /**
     * 车辆
     */
    @Excel(name = "车辆")
    private String car;

    /**
     * 常温车数量
     */
    @Excel(name = "常温车数量")
    private String carNum1;

    /**
     * 冷藏车数量
     */
    @Excel(name = "冷藏车数量")
    private String carNum2;

    /**
     * 是否具备运输系统
     */
    @Excel(name = "是否具备运输系统")
    private Integer isCar;

    /**
     * 食品保险
     */
    @Excel(name = "食品保险")
    private String foodInsurance;

    /**
     * 保额
     */
    @Excel(name = "保额")
    private String sumInsured;

    /**
     * 纳税证明，社保
     */
    @Excel(name = "纳税证明，社保")
    private String socialSecurity;

    /**
     * 其他资质
     */
    @Excel(name = "其他资质")
    private String other;

    /**
     * not_open
     */
    @Excel(name = "not_open")
    private Integer notOpen;

    /**
     * lian_open
     */
    @Excel(name = "lian_open")
    private Integer lianOpen;

    /**
     * open
     */
    @Excel(name = "open")
    private Integer open;

    /**
     * 类型 0公司 1学校
     */
    @Excel(name = "类型 0公司 1学校")
    private Integer type;

    private String cateStr;

    public String getCateStr() {
        return cateStr;
    }

    public void setCateStr(String cateStr) {
        this.cateStr = cateStr;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    public String getAncestors() {
        return ancestors;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setLeader(String leader) {
        this.leader = leader;
    }

    public String getLeader() {
        return leader;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEmail() {
        return email;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public String getLicense() {
        return license;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setFood(String food) {
        this.food = food;
    }

    public String getFood() {
        return food;
    }

    public void setIdCardTop(String idCardTop) {
        this.idCardTop = idCardTop;
    }

    public String getIdCardTop() {
        return idCardTop;
    }

    public void setIdCardBack(String idCardBack) {
        this.idCardBack = idCardBack;
    }

    public String getIdCardBack() {
        return idCardBack;
    }

    public void setFoodInspector(String foodInspector) {
        this.foodInspector = foodInspector;
    }

    public String getFoodInspector() {
        return foodInspector;
    }

    public void setHealth(String health) {
        this.health = health;
    }

    public String getHealth() {
        return health;
    }

    public void setPerformance(String performance) {
        this.performance = performance;
    }

    public String getPerformance() {
        return performance;
    }

    public void setCate(String cate) {
        this.cate = cate;
    }

    public String getCate() {
        return cate;
    }

    public void setNature(String nature) {
        this.nature = nature;
    }

    public String getNature() {
        return nature;
    }

    public void setAptitude(String aptitude) {
        this.aptitude = aptitude;
    }

    public String getAptitude() {
        return aptitude;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress() {
        return address;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getArea() {
        return area;
    }

    public void setEquity(String equity) {
        this.equity = equity;
    }

    public String getEquity() {
        return equity;
    }

    public void setEquityCert(String equityCert) {
        this.equityCert = equityCert;
    }

    public String getEquityCert() {
        return equityCert;
    }

    public void setIso9001(String iso9001) {
        this.iso9001 = iso9001;
    }

    public String getIso9001() {
        return iso9001;
    }

    public void setIso14001(String iso14001) {
        this.iso14001 = iso14001;
    }

    public String getIso14001() {
        return iso14001;
    }

    public void setHaccp(String haccp) {
        this.haccp = haccp;
    }

    public String getHaccp() {
        return haccp;
    }

    public void setCnas(String cnas) {
        this.cnas = cnas;
    }

    public String getCnas() {
        return cnas;
    }

    public void setCar(String car) {
        this.car = car;
    }

    public String getCar() {
        return car;
    }

    public void setCarNum1(String carNum1) {
        this.carNum1 = carNum1;
    }

    public String getCarNum1() {
        return carNum1;
    }

    public void setCarNum2(String carNum2) {
        this.carNum2 = carNum2;
    }

    public String getCarNum2() {
        return carNum2;
    }

    public void setIsCar(Integer isCar) {
        this.isCar = isCar;
    }

    public Integer getIsCar() {
        return isCar;
    }

    public void setFoodInsurance(String foodInsurance) {
        this.foodInsurance = foodInsurance;
    }

    public String getFoodInsurance() {
        return foodInsurance;
    }

    public void setSumInsured(String sumInsured) {
        this.sumInsured = sumInsured;
    }

    public String getSumInsured() {
        return sumInsured;
    }

    public void setSocialSecurity(String socialSecurity) {
        this.socialSecurity = socialSecurity;
    }

    public String getSocialSecurity() {
        return socialSecurity;
    }

    public void setOther(String other) {
        this.other = other;
    }

    public String getOther() {
        return other;
    }

    public void setNotOpen(Integer notOpen) {
        this.notOpen = notOpen;
    }

    public Integer getNotOpen() {
        return notOpen;
    }

    public void setLianOpen(Integer lianOpen) {
        this.lianOpen = lianOpen;
    }

    public Integer getLianOpen() {
        return lianOpen;
    }

    public void setOpen(Integer open) {
        this.open = open;
    }

    public Integer getOpen() {
        return open;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getType() {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("parentId", getParentId())
                .append("ancestors", getAncestors())
                .append("deptName", getDeptName())
                .append("orderNum", getOrderNum())
                .append("leader", getLeader())
                .append("phone", getPhone())
                .append("email", getEmail())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("license", getLicense())
                .append("code", getCode())
                .append("food", getFood())
                .append("idCardTop", getIdCardTop())
                .append("idCardBack", getIdCardBack())
                .append("foodInspector", getFoodInspector())
                .append("health", getHealth())
                .append("performance", getPerformance())
                .append("cate", getCate())
                .append("nature", getNature())
                .append("aptitude", getAptitude())
                .append("address", getAddress())
                .append("area", getArea())
                .append("equity", getEquity())
                .append("equityCert", getEquityCert())
                .append("iso9001", getIso9001())
                .append("iso14001", getIso14001())
                .append("haccp", getHaccp())
                .append("cnas", getCnas())
                .append("car", getCar())
                .append("carNum1", getCarNum1())
                .append("carNum2", getCarNum2())
                .append("isCar", getIsCar())
                .append("foodInsurance", getFoodInsurance())
                .append("sumInsured", getSumInsured())
                .append("socialSecurity", getSocialSecurity())
                .append("other", getOther())
                .append("notOpen", getNotOpen())
                .append("lianOpen", getLianOpen())
                .append("open", getOpen())
                .append("type", getType())
                .toString();
    }
}
